@media screen and (max-width: 1366px){
    .search {
        height: 25px;
        >input {
            width: 70px;
            height: 25px;
            padding: 0 0 0 5px;
            font-size: 12px;
            line-height: 25px;
        }
        >span {
            top: 4px;
            right: 65px;
        }
    }
    .button {
        width: 38px;
        height: 25px;
        padding-left: 22px;
        font-size: 14px;
        line-height: 25px;
        background-size: 16px 16px;
        background-position: 3px center;
    }
    .history, .refer {
        top: 30px;
        min-width: 75px;
        padding: 5px 0;
        font-size: 12px;
        >li {
            line-height: 25px;
            padding: 0 20px 0 5px;
            >span {
                width: 20px;
            }
        }
    }
}
@media screen and (min-width: 1367px){
    .search {
        height: 30px;
        >input {
            width: 160px;
            height: 30px;
            padding: 0 0 0 10px;
            font-size: 14px;
            line-height: 30px;
        }
        >span {
            top: 8px;
            right: 88px;
        }
    }
    .button {
        width: 48px;
        height: 30px;
        padding-left: 32px;
        font-size: 16px;
        line-height: 30px;
        background-size: 20px 20px;
        background-position: 5px center;
    }
    .history, .refer {
        top: 35px;
        min-width: 170px;
        padding: 10px 0;
        font-size: 14px;
        >li {
            line-height: 25px;
            padding: 0 35px 0 15px;
            >span {
                width: 25px;
            }
        }
    }
}
.search {
    position: absolute;
    display: flex;
    border-radius: 5px;
    z-index: 1;
    //box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    >input {
        position: relative;
        border-radius: 5px 0 0 5px;
        border: none;
        color: #fff;
        background-color: rgba(75, 82, 94, 0.3); 
        &:focus {
            outline: none;
        }
    }
    >span {
        position: absolute;
        color: #aaa;
        font-family: 'iconfont';
        cursor: pointer;
    }
    .button {
        border-radius: 0 5px 5px 0;
        letter-spacing: 4px;
        background-color: #1A499A;
        background-image: url('../assets/images/icons/50.png');
        background-repeat: no-repeat;
        cursor: pointer;
        user-select: none;
        &:active {
            background-image: url('../assets/images/icons/51.png');
            background-position: 5px center;
            color: #6cebfc;
        }
    }
    .history, .refer {
        list-style: none;
        position: absolute;
        left: 0;
        border-radius: 5px;
        background-color: rgba(75, 82, 94, 0.3); 
        >li {
            position: relative;
            border-radius: 5px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            cursor: pointer;
            >span {
                display: none;
                position: absolute;
                top: 0;
                right: 0;
                text-align: center;
                font-family: 'iconfont';
                cursor: pointer;
            }
            &:last-child {
                padding: 0 5px;
                color: #999;
                text-align: center;
            }
            &:hover {
                background: #1A499A;
                span {
                    display: block;
                }
            }
        }
    }
    .bg-color {
        background-color: rgba(75, 82, 94, 0.65) !important; 
    }
}